package com.hakim.wfb.customer.service.convert;

import com.hakim.wfb.bean.PointOrder;
import com.hakim.wfb.customer.result.trans.PointOrderView;

import java.util.Date;

/**
 * Created by Administrator on 2017/7/6.
 */
public class PointOrderDtv {
    public static PointOrderView convert(PointOrder obj) {
        PointOrderView view = new PointOrderView();

        view.setTid(obj.getTid());
        view.setPoOrderno(obj.getPoOrderno());
        view.setPoCreateDate(obj.getPoCreateDate());
        view.setPoFromUser(obj.getPoFromUser());
        view.setPoToUser(obj.getPoToUser());
        view.setPoPointType(obj.getPoPointType());
        view.setPoTransPoint(obj.getPoTransPoint());
        view.setPoAmount(obj.getPoAmount());
        view.setPoType(obj.getPoType());
        view.setPoDescription(obj.getPoDescription());
        return view;
    }
}
